package com.facade;

public class Facade {
    SubSystemone subSystemone;
    SubSystemTwo subSystemTwo;
    SubSystemThree subSystemThree;
    SubSystemFour subSystemFour;

    public Facade(){
        subSystemone = new SubSystemone();
        subSystemTwo = new SubSystemTwo();
        subSystemThree = new SubSystemThree();
        subSystemFour = new SubSystemFour();
    }

    public void methodA(){
        subSystemone.methodOne();
        subSystemTwo.methodTwo();
    }
    public void methodB(){
        subSystemThree.methodThree();
        subSystemFour.methodFour();
    }
}
